ef78e47fcb2a6e8a8bf7f8f375fcbd0e85634dba,src/test/java/com/xebialabs/overthere/itest/ItestsBase3Copy.java,ItestsBase3Copy,shouldCopyRemoteDirectoryToExistentRemoteDirectory,#,215

Before Change



    @Test
    public void shouldCopyRemoteDirectoryToExistentRemoteDirectory() {
        OverthereFile srcDir = getRemoteSourceDirectory();
        OverthereFile dstDir = getRemoteDestinationDirectory();

        populateSourceDirectory(srcDir);
        populateExistentDestinationDirectory(dstDir);

        srcDir.copyTo(dstDir);

        assertSourceDirectoryWasCopiedToExistentDestinationDirectory(dstDir);
    }

After Change



    @Test
    public void shouldCopyRemoteDirectoryToExistentRemoteDirectory() {
        shouldCopyToExistentDirectory(getRemoteSourceDirectory(), getRemoteDestinationDirectory());
    }

    @Test